<a href="http://github.com/angular/angular.js/edit/master/docs/content/error/sce/iequirks.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">IE8 in quirks mode is unsupported</code>
<div><span class="hint">error in component <code ng:non-bindable="">$sce</code>
</span>
</div>
</h1>
<div><pre class="minerr-errmsg" error-display="Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.">Strict Contextual Escaping does not support Internet Explorer version &lt; 9 in quirks mode.  You can fix this by adding the text &lt;!doctype html&gt; to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.</pre>
<h2 id="description">Description</h2>
<div class="description"><div class="-sce-page -sce-iequirks-page"><p>This error occurs when you are using AngularJS with <a href="api/ng.$sce"><code>Strict Contextual Escaping (SCE)</code></a> mode enabled (the default) on IE8 or lower in quirks mode.</p>
<p>In this mode, IE8 allows one to execute arbitrary javascript by the use of the <code>expression()</code> syntax and is not supported.
Refer <a href="http://blogs.msdn.com/b/ie/archive/2008/10/16/ending-expressions.aspx">MSDN Blogs &gt; IEBlog &gt; Ending Expressions</a> to learn more about them.</p>
<p>To resolve this error please specify the proper doctype at the top of your main html document:</p>
<pre><code>&lt;!doctype html&gt;</code></pre>
</div></div>
</div>
